/*
 * ResponsabileAteneo
 * 
 * The class ResponsabileAteneo represents a type of account in the system. It extends the class Account
 * 
 * Author: Carmine Colicino, Luigi Di Martino
 * Version: 1.0
 * 
 * 2014 - Copyright by Team 6 - University of Salerno
*/

package it.unisa.udocs.data;

public class ResponsabileAteneo extends Account {
	
	private String nome;
	private String cognome;
	private int evento;
	
	/**
	 * Constructs a new ResponsabileAteneo
	 * 
	 * @param id - the account id
	 * @param usr - the username
	 * @param psw - the password
	 * @param tip - the account type
	 * @param nome - the name
	 * @param cognome - the surname
	 * @param evento - the event id
	 */
	public ResponsabileAteneo(int id, String usr, String psw, String tip,
			String nome, String cognome, int evento) {
		
		super(id,usr,psw,tip);
		this.nome = nome;
		this.cognome = cognome;
		this.evento = evento;
	}

	/**
	 * Returns the name of a ResponsabileAteneo
	 * 
	 * @return the name
	 *
	 */
	public String getNome() {
		return nome;
	}
	
	/**
	 * Sets the name of a ResponsabileAteneo 
	 * 
	 * @param nome - the name
	 * 
	 */
	public void setNome(String nome) {
		this.nome = nome;
	}
	
	/**
	 * Returns the surname of a ResponsabileAteneo 
	 * 
	 * @return the surname
	 *
	 */
	public String getCognome() {
		return cognome;
	}
	
	/**
	 * Sets the surname of a ResponsabileAteneo 
	 * 
	 * @param cognome - the surname
	 * 
	 */
	public void setCognome(String cognome) {
		this.cognome = cognome;
	}
	
	/**
	 * Returns the event id of a ResponsabileAteneo
	 * 
	 * @return the event id
	 *
	 */
	public int getEvento() {
		return evento;
	}
	
	/**
	 * Sets the event id of a ResponsabileAteneo 
	 * 
	 * @param evento - the event id
	 * 
	 */
	public void setEvento(int evento) {
		this.evento = evento;
	}

	
}
